package com.zh.freechat.domain.auth;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author Zhou
 * @date 17:56 2025/10/30
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class LoginUser implements Serializable {
    private String uid; //用户ID

    private String username;

    private String name;

    private String avatar;

    private List<String> roles;

    private String openId;  // 微信用户唯一标识
}
